some methods to define interceptor classes and methods