Added name model logic + documentation.