Got rid of empty function parameter calls.
Replace homegrown url params function with purl library.