Change function type context spec