Add a little to the API

This gives some greater freedom to projects like flake8.