Removed unused .keys() method - keys are returned from dict by default.