Added documentation and some attributes for navs and buttons.