Add an interface for AmpJavaPlugin