Adding getter and setter on Record