Add ApiController.
Syntax error fix on ZDocumentsController.
Various fixes.