Remove dependency on Detail by using Predef directly.