Provides an interface to hook into a class methods