Allow flagging value objects as local to avoid issues with the Doctrine EM, fixes #44