Doxygen-ify the comments on the public interface for BPI. Also, move the