clean up of unused methods in inputcontext