Implemented structure members to resolve auto_ptr issues