Add prefixes for transitions