Add documentation on external hooks