Dealing with non-stationary environments using context detection | Synapse