Changed variables in post class to observables.