Class based interception