Added populate and magic __get() __set() methods so record attributes can be accessed like set properties