add missing hint, and turn on reflection warnings