Added a trait to vectors module