Fixes duplicate extensions bug, and makes equipment more of a trait and less of a type