Pass entire namespace dict to strip declaration thing from psm generator