Better function docs