allow string as routing function
2.3.0