Updating code comments for require and function

Fixes #192