Add documentation for custom filters

Fixes #43.