Separate the tab expansion from the other functions.