Refractoring capture