Fixing up documentation, missing functions, examples and alpha masks.