Bug fix from previous commit, $configuration must be an object