Suppressed/fixed some warnings in Design and XML classes