Create managed object subclass