Preamble refactoring.