Make user_agent an attr_writer, since reader is defined