Refractoring views