Removal of local copies of types that are now in phetcommon.