Made keys export rather than just set