Migrated interceptors to Java.