Added custom methods to vector