Get rid of reflection warnings