Added attributePrefix support.