Merge branch 'master' into flexibleentity