Removed some reflection warnings