Heartbeat support

Fixes #44 
Closes #22 

Opened PR for discussion
And about this one: if you look closely there will be no side effects unless the collection that extends this really wants to. 

I could move it to its own method just for the sake of readibility.