A prototype inheritance helper