Kinda nitpicking, but why not do `list($pid, $type) = $object_parts;`. Hurray, being concise! :P