Simple configuration function.