Add example to KEEPALIVE. Make Worker API public. Other minor fixes