Enhanced elements' doc generation