Minor optimisation.
Removed trace logging.