Add documentation for custom interfaces.