Removed some warnigns.