Add support for replacing tabs.