Remove un-used function context