Allows you to register changes in state and it'll call you up when they occur