A framework for priority effects. (15th June 2016)