Implementing the rest of the generic stub functions to prevent null exceptions