expose server driven typing; replace #defines with consts