Add appending and prepending to routes