Fix missing cases in 'tldeclared' to allow class/instance in parameter blocks
Fixes #436