Pass the right type in the cookbook declaration