Add property check to keys()