properly inherit prototypes and globals
1.1.4