Remove reflection warnings