Apparently the statement order in extends ... with does matter.