Rename createClass to extend