Make sure plugins are loaded in the correct order by allowing the
library to take over state loading