Homogenize return types for design management functions.
Rename loadPredefined design into fetchDesign.
Reindent and reformat comments.