Streamlining formatting code.