Fix Utils.createClass: lifecycle methods are not inherited