Added some minor extensions like uniquify