Added various functions and pages.