Reorder method calls to ensure config is set.