Add extends() function
Stuff and things