Applying prefixes first