Removed todo comment and added hook documentation.