Got rid of all compiler warnings