Removed entityreference. Not using the patched functionality anymore.