Added check so base class cannot be instantiated