Update documentation for functions that can return null