Use a toId method on Record instead of constructing them by hand
Whitespace