fixes #15. Fixed issue with non-existent interfaces causing ReflectionExceptions.