Sort imports alphabetically
Attach properties to generator function