Remove some ununsed variables.
Generate API documentation.