Or we could have a `WP_Config_Manipulator` class which opens a file pointer or something and has two methods: `contains( $content )` and `insert( $content )`.

Let me know when to stop. :P