Util.heir now checks if the argument is a function, if so it just constructs it. Added util.extend a wrapper around Y.extend to allow object literals in addition to functions.