Restrict PE for class dictionaries

This is a temporary fix until I write a more appropriate evaluator for
PE purposes, though it does the job fine.
Also fix specialisation under Delay.