Refactored a bit the handling of squeryl repository pojos to use lambda functions.