Add support for linearizeAll