Added basic functions for keymapper factory