Implemented keysSet and fromSet