(WIP) Multiple entity managers support