removed xpl global, documentation from luadoc to ldoc