Initialise member variables of MotionScript classes in their constructors.