Would be nice to get this from the 'environment' setup by the decorator somehow.