Refactor Bootstrap Plugin API.

Change a few public methods to protected.
Follow the change at tests