Allow having prefix specific layouts.

Refs #3907