Fix incorrect namespace.

BadMethodCallException is provided by PHP.