Add interface implementation to your java class.