Export the needed functions