I think createClass is clearer.