Respect options on the element level
Merge pull request #508 from alexindigo/master

Respect options on the element level

fixes #496, #460