Code cleanup of the BBCode extensions.