Add an LdapRecord class for easy attribute access.