Update method names for readability
Support element as well as attribute
Rename unclear 'doNative' method
Fix typo