Added an myt.extend method to replace $.extend