Load only the necessary base classes