ugly hack to allow proper paramspec in model