Route children is a function now