#1027908 fixed compatibility with the latest entity API module. Requires >= entity API beta9 to work.