OMFG, I *finally* came up with a halfway-decent resolution for the hyperparameter passing problem...