Implemented all the add and remove methods.