Remove deprecated templatedir setting.