Fixed object commands so that returning 0 works right