Added Java interfaces.