Move trace system to part of platform AOP style