Remove pprints
invalidate..() needed static too, and inside ifdef.