Add support for Flask 0.10