Replaced Record classes with interfaces and provided their values via proxies.