replace core module functions with corresponding functions of the  wrapper module