Seems like you left these functions still defined in `patch()`.