Remove activity_id from kwargs after processing it