added allowedElements documentation