Allows extending class by providing string class name