Changed inheritance syntactic sugar to also allow setting base classes from direct values