Added SetCustom and some comments / documentation.