Added keymask features to handler
Added keymask example