doc
def namespace; remove deprecated code