Add support for pretty URLs