I agree it would be nicer. But sqlalchemy.sql.expression, in 0.9, has an __all__ which doesn't export FunctionElement. So we must be specifically import FunctionElement from the module.