Added attribute accessors. Added add after value method. Added test code to ensure expected functionality.