[cvs-nhc98] Implemented deriving mechanism for portable tracing.