Set default key generator