Added return tag to phpdoc
Changed xml loading back to simplexmlelement.