Smith signs four-year extension