Move configuration functions to stdlib.