Updated API.md, added 'toArray', fixed onMouseover/onMouseleave.