Class output of reactive.
Also add print method and test