Changed the trace interface, will have to make more flexible with attributes.
Changed the trace implementation.