Improved commenting

Added commenting for the unregister methods.