Added remove to iterable and exceptions to getFirst and getLasr