Properly export self key.