createInstance() and syntax sugar for instanceof