Made dependencies of SF logger optional.