Support custom generators