refactor: Get rid of unnecessary shortcut functions.
refactor: Avoid unnecessary attribute changes in DOM controllers.