Refactor controller lambdas and related methods to accept hashes as params