Added a method to dynamically support keys