Fixed a few general errors in the add method and fixed the getAll function header.