Add functions for relative and absolute routes