Add type specific functions to bot primitive.