Wrap om/allow-reads around every react lifecycle method.