Bug fix for context which does not have type info.