Fix breakage from SMART refactoring.