Add documentation for modes