Reformat some code in Vector and only import what we need from Errno