Adds partial and layout support.