Fixes #2. Use Hash::extract() to find the variables to save some configuration