Add more documentation and examples for handlers