extend various methods to the client