Refactored XMPHP inclusion.