Config parsing.