add unused objects as warnings