Prevent craching when there is no class for the specified bundle.
Merge pull request #9 from Gizra/prevent-craching

Prevent craching when there is no class for the specified bundle.