Fixes #192 Allow loadResources to accept ResourceInterface objects

Alignment