Fixed adding to a type
Added more tests
Added new documentation and removed unused parameter
New test and data