Add containsKey and keySet methods