Very small perf optimisations.
Add native dom methods to features.