Draft for MasterLease implementation.
Add some convenient functions to RPC and Timer.