Extract open/closed to a named method