Added methods for lookup and key