Added jQuery plugin (optional) and renamed a few methods (see the
source).