remove context_type param