Fixed warning issues in Managers.