Cleans things a bit, adds named parameters to raw AR queries.