Adding lookups for near, ancestors and generic attributes (data-)