Polish the documentation for when