Getting rid of build warnings