Added take-last and distinct combinators