Made Record.isPrimaryKey package-local