Minor improvement to view compiler/factory.