Eliminate one occurrence of reflection via a type hint