Add methods to get Unique (or null) value from query.