Standard function.