Removing antiquated SecretKey class