Resolve all compiler warnings