Added some overloads to keepalive method.