Changed access level of Record attributes to protected