Implemented Reaction class.