Added null check in Traceable