Factor out constants