Fixed insert, clear, search, contains, and added more methods.