Not to try type assertion multiple times