MDL-30981 Upgrade API: Added related phpdocs