Simplified record DAO by removing uneeded $pk variables.