security: In KeyChain, the default constructor should be public. (Also removed unused imports.)