add class interceptor