Basic set implementation.