Declare configuration before using it.

Fixes #2