Refactor hero custom attributes assignment, Milord.