Don't require leading slash for uri()
xss test.
Make codesniffer happy.
Adding prefill functionality to template class.