Implemeted basic settings functions.