Updated plugin api documentation.