add instance methods hook to base schema