Refactored BStatement definition to include number of parameters.