Setting up stub functions.