Add impl registration. Fix some JSDoc comments.