Got rid of some compiler warnings