The rules about when to specify a class are unknown to me, so it is more trial, error and hope. If there is a good reference..