Add documentation

Add proper docstrings to new handler functions.