Updated prototype inheritance.
Merge pull request #3 from louiedp3/resources

Updated prototype inheritance.