Getting rid of warnings