Write specs, update plugin