Updated prototype inheritance.