add some methods to interface.