Removed some implicit conversion warnings.