Added prefix.js and suffix.js, fixes to the layout provider and ssm rovider.