added in compat method to allow setup of backwards compatible constants