Code revamp by Awoo.
Modify API documentation.