I dont know about this. This means that we have to alter the script for new classes which is not nice.
Rather change codebase to include complex things. But maybe there is another way?