RegistrationBuffer: added register and unregister methods

darcs-hash:20081107094729-b2873-32a47e9c014477688b52c9ecec66084c7d365d71