Fixes #29: Use resource filtering to pass properties to controllers.