Update API;

- Raise an InvalidSyntax exception if:
  - cursor or centred have an invalid value.
  - stream does not have a block.
  - interface does not have a name.
  - align does not have a value of :left, :right or :centred.
- Add more documentation.