Re-facted for common.