Remove context function.