renamed methods: register -> define and lookup -> require