Added documentation on heartbeating and polling mechanisms.