Convert Slim class into an extension of the Set class