Generalizing ezcl calls and fixing compiler warnings