Fixed structures factory typehint.
Import structures into services namespace.
Deal with inconsistent service naming in generator.
Forgot Site ID in example.