allow null detail
do away with generating None as namespace