Add class and instance methods to each section