Add getStatements and clear method to BatchStatement