Look into element-ref to discover if they are simple types
Closes #51