Consider to simplify factory method of() due to switch clause - breaking OCP.
Consider to simplify factory method of() due to switch clause - breaking OCP.