Trying again on the parameter casting routine. Still not convinced I'm approaching it correctly, but trying to get dependent projects building right.