add config methods.