Fixed reflection warnings.