Allow specifying a custom key location.