Removed reflection warnings.