Separate class loading and instantiation