Fixes for BroadRunner with 'resources' instead of old custom variable inputs.

Sorry for the breaking API, Rory.