Added heartbeat on request to gateway. It compiles.