Fix lint warnings in Vector and use result dispatcher for returning values