Fixed auto-doc error when bean or method doesn't exist.

The docs would not generate at all if your config had bad references to
beans or methods. That should be fixed now.