Factoring out stuff.