add support for empty attribute type
Merge branch '#5' into develop