Reimplemented basic methods (derived from vector class).