Don't forget to unset($dependent) to free the reference.