Add documentation for tick().